{"ast":null,"code":"import React, { memo } from 'react';\nimport FileTextOutlined from \"@ant-design/icons/es/icons/FileTextOutlined\";\nimport classNames from 'classnames';\nconst FloatButtonContent = props => {\n  const {\n    icon,\n    description,\n    prefixCls,\n    className\n  } = props;\n  const defaultElement = /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-icon`\n  }, /*#__PURE__*/React.createElement(FileTextOutlined, null));\n  return /*#__PURE__*/React.createElement(\"div\", {\n    onClick: props.onClick,\n    onFocus: props.onFocus,\n    onMouseEnter: props.onMouseEnter,\n    onMouseLeave: props.onMouseLeave,\n    className: classNames(className, `${prefixCls}-content`)\n  }, icon || description ? /*#__PURE__*/React.createElement(React.Fragment, null, icon && /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-icon`\n  }, icon), description && /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-description`\n  }, description)) : defaultElement);\n};\nexport default /*#__PURE__*/memo(FloatButtonContent);","map":{"version":3,"names":["React","memo","FileTextOutlined","classNames","FloatButtonContent","props","icon","description","prefixCls","className","defaultElement","createElement","onClick","onFocus","onMouseEnter","onMouseLeave","Fragment"],"sources":["/data/messenger.client/node_modules/antd/es/float-button/FloatButtonContent.js"],"sourcesContent":["import React, { memo } from 'react';\nimport FileTextOutlined from \"@ant-design/icons/es/icons/FileTextOutlined\";\nimport classNames from 'classnames';\nconst FloatButtonContent = props => {\n  const {\n    icon,\n    description,\n    prefixCls,\n    className\n  } = props;\n  const defaultElement = /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-icon`\n  }, /*#__PURE__*/React.createElement(FileTextOutlined, null));\n  return /*#__PURE__*/React.createElement(\"div\", {\n    onClick: props.onClick,\n    onFocus: props.onFocus,\n    onMouseEnter: props.onMouseEnter,\n    onMouseLeave: props.onMouseLeave,\n    className: classNames(className, `${prefixCls}-content`)\n  }, icon || description ? /*#__PURE__*/React.createElement(React.Fragment, null, icon && /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-icon`\n  }, icon), description && /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-description`\n  }, description)) : defaultElement);\n};\nexport default /*#__PURE__*/memo(FloatButtonContent);"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,OAAOC,gBAAgB,MAAM,6CAA6C;AAC1E,OAAOC,UAAU,MAAM,YAAY;AACnC,MAAMC,kBAAkB,GAAGC,KAAK,IAAI;EAClC,MAAM;IACJC,IAAI;IACJC,WAAW;IACXC,SAAS;IACTC;EACF,CAAC,GAAGJ,KAAK;EACT,MAAMK,cAAc,GAAG,aAAaV,KAAK,CAACW,aAAa,CAAC,KAAK,EAAE;IAC7DF,SAAS,EAAG,GAAED,SAAU;EAC1B,CAAC,EAAE,aAAaR,KAAK,CAACW,aAAa,CAACT,gBAAgB,EAAE,IAAI,CAAC,CAAC;EAC5D,OAAO,aAAaF,KAAK,CAACW,aAAa,CAAC,KAAK,EAAE;IAC7CC,OAAO,EAAEP,KAAK,CAACO,OAAO;IACtBC,OAAO,EAAER,KAAK,CAACQ,OAAO;IACtBC,YAAY,EAAET,KAAK,CAACS,YAAY;IAChCC,YAAY,EAAEV,KAAK,CAACU,YAAY;IAChCN,SAAS,EAAEN,UAAU,CAACM,SAAS,EAAG,GAAED,SAAU,UAAS;EACzD,CAAC,EAAEF,IAAI,IAAIC,WAAW,GAAG,aAAaP,KAAK,CAACW,aAAa,CAACX,KAAK,CAACgB,QAAQ,EAAE,IAAI,EAAEV,IAAI,IAAI,aAAaN,KAAK,CAACW,aAAa,CAAC,KAAK,EAAE;IAC9HF,SAAS,EAAG,GAAED,SAAU;EAC1B,CAAC,EAAEF,IAAI,CAAC,EAAEC,WAAW,IAAI,aAAaP,KAAK,CAACW,aAAa,CAAC,KAAK,EAAE;IAC/DF,SAAS,EAAG,GAAED,SAAU;EAC1B,CAAC,EAAED,WAAW,CAAC,CAAC,GAAGG,cAAc,CAAC;AACpC,CAAC;AACD,eAAe,aAAaT,IAAI,CAACG,kBAAkB,CAAC"},"metadata":{},"sourceType":"module"}